package com.wuxiaofan.feign;

import com.alibaba.fastjson.JSONObject;
import com.wuxiaofan.vo.ReturnResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "spring-cloud-alibaba-user",configuration = UserFeignConfig.class)
public interface UserFeignClient {

    @RequestMapping("test1")
    public ReturnResult test1();

    @RequestMapping("userInfo/subBalance")
    public ReturnResult subBalance(@RequestBody JSONObject jsonObject);
}
